package MyOffer.JavaGuide;

import com.sun.org.apache.bcel.internal.generic.NEW;

/**
 * final方法不能被重写
 */
public class FinalTest {

    public final void testFinal(){
        System.out.println("testFinal");
    }
}

class FSon extends  FinalTest{

    //public final void testFinal(){
    //
    //}

    public static void main(String[] args) {
        FSon son = new FSon();
        son.testFinal();
    }

}
